package com.sinacom.ibuilding.dao.impl;

import java.util.Map;

import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.template.SqlMapDaoTemplate;
import com.sinacom.ibuilding.dao.iface.DualDao;

public class DualDaoImpl extends SqlMapDaoTemplate implements DualDao{
	
	public DualDaoImpl(DaoManager daoManager){
		super(daoManager);
	}

	public int getDual(Map map) {
		Object o = queryForObject("getDual", map);
		return o == null ?0:((Integer)o).intValue();
	}

	
	
}
